Revert "; * lisp/subr.el (setq-local): Doc fix (bug#78644)."
authorEli Zaretskii <eliz@gnu.org>
Sat, 31 May 2025 08:08:45 +0000 (11:08 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 31 May 2025 08:08:45 +0000 (11:08 +0300)
This reverts commit cb9556d669c037c4e2f1a9c80adacad55948c706.
Some of its parts were not supposed to be installed.

lisp/cus-edit.el
lisp/custom.el
lisp/subr.el

index 510c0b997021e26f5c220d278dfdfdbecaf36b07..2ecae541fed9a75c59fb7e9984fb30789c614139 100644 (file)
   (error nil))
 
 (condition-case nil
-    (unless (featurep 'cus-start)
-      (require 'cus-start))
+    (require 'cus-start)
   (error nil))
 
 (put 'custom-define-hook 'custom-type 'hook)
index e5ceda87f619a84745623bd87ffa0b141e570852..a0dc1945bedce19f36a1fd82b49d4fd3d5e9469b 100644 (file)
@@ -699,8 +699,7 @@ The result is that the change is treated as having been made through Custom."
       (ignore-errors
         (require 'cus-load))
       (ignore-errors
-        (unless (featurep 'cus-start)
-          (require 'cus-start)))
+        (require 'cus-start))
       (dolist (load (get symbol 'custom-loads))
         (cond ((symbolp load) (ignore-errors (require load)))
              ;; This is subsumed by the test below, but it's much faster.
index 50ebc598e80c60e5d0fb910bac2d08e7a149ddc6..99981848db4735f6ac4a63256f6dae1c61dd947c 100644 (file)
@@ -161,12 +161,11 @@ of previous VARs.
     `(progn . ,(nreverse exps))))
 
 (defmacro setq-local (&rest pairs)
-  "Make each VARIABLE local to current buffer and set it to corresponding VALUE.
+  "Make each VARIABLE buffer-local and assign to it the corresponding VALUE.
 
 The arguments are variable/value pairs.  For each VARIABLE in a pair,
-make VARIABLE buffer-local in the current buffer and assign to it the
-corresponding VALUE of the pair.  The VARIABLEs are literal symbols
-and should not be quoted.
+make VARIABLE buffer-local and assign to it the corresponding VALUE
+of the pair.  The VARIABLEs are literal symbols and should not be quoted.
 
 The VALUE of the Nth pair is not computed until after the VARIABLE
 of the (N-1)th pair is set; thus, each VALUE can use the new VALUEs